#define kindeditor (contentId,name,content,contentMsg,rows,cols)
<link rel="stylesheet" href="/kindeditor/themes/default/default.css"/>
<link rel="stylesheet" href="/kindeditor/plugins/code/prettify.css"/>
<script charset="utf-8" src="/kindeditor/kindeditor-all-min.js"></script>
<script charset="utf-8" src="/kindeditor/lang/zh-CN.js"></script>
<script charset="utf-8" src="/kindeditor/plugins/code/prettify.js"></script>
<script>
    KindEditor.ready(function(K) {
        window.editor = K.create('##(contentId)', {
            cssPath: '/kindeditor/plugins/code/prettify.css',
            uploadJson: '/kindeditor/upload',
            fileManagerJson: '/kindeditor/fileManager',
            allowFileManager: true
        });
        prettyPrint();
    });
</script>
<textarea id="#(contentId)" name="#(name)" cols=#(cols) rows=#(rows)>#(content)</textarea>#(contentMsg??)
#end